/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package entities;

import data.DataProvider;
import java.sql.SQLException;

/**
 *
 * @author bertram
 */
public class ArtistGroup {
    int artistGroupID;
    String name = "";

public ArtistGroup()
    {
    try{
            this.artistGroupID = DataProvider.getInstance().getNextArtistGroup();

        }
        catch(SQLException sqx)
        {
           System.out.println("kunne ikke hente næste kunstner id");
        }
}

    public int getArtistGroupID() {
        return artistGroupID;
    }

    public void setArtistGroupID(int artistGroupID) {
        this.artistGroupID = artistGroupID;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


}
